import { constantRoutes } from "@/router"
const state = {
    menuList: [...constantRoutes]
}
const mutations = {
    setMenuList(state, asyncRoutes) {
        state.menuList = [...constantRoutes, ...asyncRoutes]
    }
}
const actions = {}

export default {
    namespaced: true,
    state,
    mutations,
    actions
}